gtkmain: Pass coordinates when synthesizing pointer events
authorCarlos Garnacho <carlosg@gnome.org>
Tue, 9 Aug 2022 16:47:14 +0000 (18:47 +0200)
committerCarlos Garnacho <carlosg@gnome.org>
Tue, 9 Aug 2022 17:13:28 +0000 (19:13 +0200)
commit25c3616a79179470fe9deeeb182d120fa2f97322
tree0b5072b01b18f692405fe1c63b9fbf6f6893f3c7
parent86e5ad85b7018c7bc4e692a8c1d679f7c897c96e
gtkmain: Pass coordinates when synthesizing pointer events

Instead of passing an event and figuring out coordinates from it, pass
directly the toplevel coordinates so that we can use this outside event
handling.

All callers have been updated to pass the coordinates, in practical effects
they were already based on the GtkNative.
gtk/gtkmain.c